
RaviM.09679 (NTT DATA GDS) asked a question.
I am currently trying to implement SSO by using OKTA, i have created a startup.vb class for implementing Login with open id default credentials. Now the authentication is successful and could able to navigate to the landing page with the response status code -200. Now i wanted to fetch Id-token and access token from the response. Any suggestions will be apricated. I am using basic VB coding to implement this functionality.
code snippet.
app.SetDefaultSignInAsAuthenticationType(OpenIdConnectAuthenticationDefaults.AuthenticationType)
app.UseCookieAuthentication(New CookieAuthenticationOptions With {
.CookieManager = New SystemWebCookieManager()
})
app.UseOpenIdConnectAuthentication(New OpenIdConnectAuthenticationOptions With {
.ClientId = _clientId,
.ClientSecret = _clientSecret,
.Authority = _authority,
.RedirectUri = _redirectUri,
.ResponseType = OpenIdConnectResponseType.CodeIdToken,
.Scope = OpenIdConnectScope.OpenIdProfile
})

Hi @RaviM.09679 (NTT DATA GDS),
Thank you for posting on the Okta community page!
I have done some research on my end but I only managed to find the bellow articles about the ID and Access token that provide a way on how to fetch them trough API:
I hope the above information is useful!