Skip to content

Commit

Permalink
fjern betabruker fra lokalt mock-token
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrele committed Feb 5, 2024
1 parent a915d92 commit f0ceaa0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
6 changes: 5 additions & 1 deletion mulighetsrommet-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ Følgende steg kan benyttes til å generere opp et token:
],
"oid": "0bab029e-e84e-4842-8a27-d153b29782cf",
"azp_name": "test name",
"groups": ["ee45478c-57a5-4ee6-b28d-b65f8c1733fe", "279039a0-39fd-4860-afdd-a1a2ccaa6323", "48026f54-6259-4c35-a148-bc4257bcaf03"]
"groups": [
"52bb9196-b071-4cc7-9472-be4942d33c4b",
"48026f54-6259-4c35-a148-bc4257bcaf03",
"279039a0-39fd-4860-afdd-a1a2ccaa6323"
]
}
```
3. Trykk `Sign in`
Expand Down
15 changes: 6 additions & 9 deletions mulighetsrommet-api/src/main/resources/application-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,15 @@ app:
audience: mulighetsrommet-api
tokenEndpointUrl: http://localhost:8081/azure/token
roles:
# Mocket AD-gruppe for lokal utvikling
- adGruppeId: ee45478c-57a5-4ee6-b28d-b65f8c1733fe
rolle: BETABRUKER
# Mocket 0000-ZA-TILTAK-tiltaksgjennomforinger_skriv
- adGruppeId: 279039a0-39fd-4860-afdd-a1a2ccaa6323
rolle: TILTAKSGJENNOMFORINGER_SKRIV
# Mocket 0000-GA-TILTAK-ANSVARLIG
- adGruppeId: 52bb9196-b071-4cc7-9472-be4942d33c4b
rolle: TILTAKADMINISTRASJON_GENERELL
# Mocket 0000-ZA-TILTAK-avtaler_skriv
- adGruppeId: 48026f54-6259-4c35-a148-bc4257bcaf03
rolle: AVTALER_SKRIV
# 0000-GA-TILTAK-ANSVARLIG
- adGruppeId: 52bb9196-b071-4cc7-9472-be4942d33c4b
rolle: TILTAKADMINISTRASJON_GENERELL
# Mocket 0000-ZA-TILTAK-tiltaksgjennomforinger_skriv
- adGruppeId: 279039a0-39fd-4860-afdd-a1a2ccaa6323
rolle: TILTAKSGJENNOMFORINGER_SKRIV
# 0000-GA-TILTAK-ENDRINGSMELDING
- adGruppeId: d9f317a1-2444-4fcd-b696-df8dbd6cc942
rolle: TILTAKADMINISTRASJON_ENDRINGSMELDING
Expand Down

0 comments on commit f0ceaa0

Please sign in to comment.