# \#golang

**URL:** https://devforum.okta.com/tag/golang/19.md

[Latest](https://devforum.okta.com/latest.md) · [Categories](https://devforum.okta.com/categories.md) · [Tags](https://devforum.okta.com/tags.md)

---

## [Okta Authentication from Golang based CLI application](https://devforum.okta.com/t/okta-authentication-from-golang-based-cli-application/27526)

<div class="topic-metadata">

**Author:** [@niladri.biswas](https://devforum.okta.com/u/niladri.biswas)\
**Replies:** 5\
**Last updated:** [September 2, 2025, 6:42pm UTC](https://devforum.okta.com/t/okta-authentication-from-golang-based-cli-application/27526 "2025-09-02T18:42:02Z")

</div>

Hi, I’m attempting to do a Golang CLI proof-of-concept using Okta authentication. I am specifically looking for a sample golang CLI client app that accesses internal APIs using Okta access token (OIDC). I was going thro…

---

## [Okta-SDK-Golang and device assurance policies](https://devforum.okta.com/t/okta-sdk-golang-and-device-assurance-policies/31861)

<div class="topic-metadata">

**Author:** [@talex365](https://devforum.okta.com/u/talex365)\
**Replies:** 1\
**Last updated:** [February 4, 2025, 9:46am UTC](https://devforum.okta.com/t/okta-sdk-golang-and-device-assurance-policies/31861 "2025-02-04T09:46:53Z")

</div>

We’ve been attempting to improve our security posture by implementing device assurance policies along with some other device-type rules however this seems to be causing issues with Okta-SDK-Golang based authentication co…

---

## [Functional GoLang Oath2 Example](https://devforum.okta.com/t/functional-golang-oath2-example/30134)

<div class="topic-metadata">

**Author:** [@Shadrocks](https://devforum.okta.com/u/Shadrocks)\
**Replies:** 2\
**Last updated:** [September 7, 2024, 7:47pm UTC](https://devforum.okta.com/t/functional-golang-oath2-example/30134 "2024-09-07T19:47:25Z")

</div>

Apologies, I am not a top level developer and reading all the github docs and SDK’s is making me cross-eyed… Could anyone provide a functional example of using Oath2 in a GoLang app? I have the basics, but I am quite un…

---

## [How to get the scope of access token using golang sdk](https://devforum.okta.com/t/how-to-get-the-scope-of-access-token-using-golang-sdk/29818)

<div class="topic-metadata">

**Author:** [@hashimjaved](https://devforum.okta.com/u/hashimjaved)\
**Replies:** 1\
**Last updated:** [August 6, 2024, 3:47pm UTC](https://devforum.okta.com/t/how-to-get-the-scope-of-access-token-using-golang-sdk/29818 "2024-08-06T15:47:09Z")

</div>

I created an access token using okta console and I use that token to fetch information in my golang app using okta go sdk(okta-sdk-golang/v2/okta). What I want to know is that given I have a token what permission that to…

---

## [When is the "authenticator-verification-data" remediation type required?](https://devforum.okta.com/t/when-is-the-authenticator-verification-data-remediation-type-required/26233)

<div class="topic-metadata">

**Author:** [@nshenoy](https://devforum.okta.com/u/nshenoy)\
**Replies:** 1\
**Last updated:** [January 4, 2024, 1:02am UTC](https://devforum.okta.com/t/when-is-the-authenticator-verification-data-remediation-type-required/26233 "2024-01-04T01:02:36Z")

</div>

Hello! We have a CLI that is using Okta IDX to authenticate users. We use the Okta IDX Golang library to interact with Okta and retrieve the user’s tokens. In some cases, during invocation of the Okta Verify prompts, …

---

## [During the 'Request an authorization code' step, is it possible to pass user credentials in request?](https://devforum.okta.com/t/during-the-request-an-authorization-code-step-is-it-possible-to-pass-user-credentials-in-request/19052)

<div class="topic-metadata">

**Author:** [@jplx5000](https://devforum.okta.com/u/jplx5000)\
**Replies:** 8\
**Last updated:** [January 26, 2022, 12:54am UTC](https://devforum.okta.com/t/during-the-request-an-authorization-code-step-is-it-possible-to-pass-user-credentials-in-request/19052 "2022-01-26T00:54:48Z")

</div>

I’m implementing the Authorization Code flow w/PKCE, so I have no client secret, and I’m trying to fetch a auth code from the Okta servers to then subsequently hit the token endpoint to fetch a valid bearer token which I…

---

## [Verify token signature](https://devforum.okta.com/t/verify-token-signature/1444)

<div class="topic-metadata">

**Author:** [@simpleman](https://devforum.okta.com/u/simpleman)\
**Replies:** 14\
**Last updated:** [September 16, 2020, 7:14pm UTC](https://devforum.okta.com/t/verify-token-signature/1444 "2020-09-16T19:14:49Z")

</div>

Hi all, I’m trying to understand how I can verify token signature. I was looking for some public key in jwks\_uri, but there is nothing. It’s my link https://dev-906776.oktapreview.com/oauth2/ausebi0hs5liZf6FC0h7/v1/key…
