Skip to content

Commit

Permalink
Merge pull request #33 from torbenraab/v0.22-oidc
Browse files Browse the repository at this point in the history
Fix wrong url in oidc
  • Loading branch information
torbenraab authored Sep 11, 2024
2 parents a69a4b8 + c833ed3 commit e461af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiserver/plane/authentication/provider/oauth/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(self, request, code=None, state=None, callback=None):
client_id = OIDC_CLIENT_ID
client_secret = OIDC_CLIENT_SECRET

redirect_uri = f"""{"https" if request.is_secure() else "http"}://{request.get_host()}/auth/github/callback/"""
redirect_uri = f"""{"https" if request.is_secure() else "http"}://{request.get_host()}/auth/oidc/callback/"""
url_params = {
"client_id": client_id,
"redirect_uri": redirect_uri,
Expand Down

0 comments on commit e461af2

Please sign in to comment.