Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can a federated identity be used for authentication? #168

Open
missingcharacter opened this issue Jan 10, 2024 · 0 comments
Open

Can a federated identity be used for authentication? #168

missingcharacter opened this issue Jan 10, 2024 · 0 comments

Comments

@missingcharacter
Copy link

missingcharacter commented Jan 10, 2024

is it possible to use a federated identity for authentication?

on: push

env:
  clientId: 00000000-0000-0000-0000-000000000000
  tenantId: 11111111-1111-1111-1111-111111111111
  subscriptionId: 22222222-2222-2222-2222-222222222222
  tenant: my-tenant.onmicrosoft.com

jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    # azure creds using oidc
    - name: 'Az CLI login'
      uses: azure/login@v1
      with:
        client-id: ${{ env.clientId }}
        tenant-id: ${{ env.tenantId }}
        subscription-id: ${{ env.subscriptionId }}
    - name: 'Upload TrustFrameworkBase Policy'
      uses: azure-ad-b2c/deploy-trustframework-policy@v5
      with:
        folder: "./Policies"
        files: "TrustFrameworkBase.xml,TrustFrameworkExtensions.xml,SignUpOrSignin.xml"
        tenant: ${{ env.tenant }}
        clientId: ${{ env.clientId }}
        renumberSteps: false

something like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant