Skip to content

Commit fdbd636

Browse files
committed
Remove beta tag from sample
1 parent 00cacb1 commit fdbd636

13 files changed

Lines changed: 28 additions & 22 deletions

File tree

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
.DS_Store
22
01-Authorization-RS256/.env
33
01-Authorization-RS256/vendor/
4-
01-Authorization-RS256-BETA/.env
5-
01-Authorization-RS256-BETA/vendor/

01-Authorization-RS256-BETA/go.mod

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# [BETA] Golang Authorization for RS256-Signed Tokens
1+
# Golang Authorization for RS256-Signed Tokens
22

33
This sample demonstrates how to protect endpoints in a Go API by verifying an incoming JWT access token signed by Auth0.
44
The token must be signed with the RS256 algorithm and must be verified against your Auth0 JSON Web Key Set.
55

6-
Check the [Golang API Quickstart](https://auth0.com/docs/quickstart/backend/golang-beta) to understand this sample better.
6+
Check the [Golang API Quickstart](https://auth0.com/docs/quickstart/backend/golang) to understand this sample better.
77

88
## Getting Started
99

10-
If you haven't already done so, [sign up](https://auth0.com/signup) for your free Auth0 account and create a new API client in the [dashboard](https://manage.auth0.com/).
10+
If you haven't already done so, [sign up](https://auth0.com/signup) for your free Auth0 account and create a new API
11+
client in the [dashboard](https://manage.auth0.com/).
1112

1213
Clone the repo or download it from the Golang API quickstart page in Auth0's documentation.
1314

1415
### Add Your Credentials
1516

16-
Rename the `.env.example` to `.env` and you will see variables for `AUTH0_DOMAIN` and `AUTH0_API_AUDIENCE`. Update these values with your credentials and save the file.
17+
Rename the `.env.example` to `.env` and you will see variables for `AUTH0_DOMAIN` and `AUTH0_API_AUDIENCE`.
18+
Update these values with your credentials and save the file.
1719

1820
```text
1921
AUTH0_DOMAIN={DOMAIN}
@@ -71,7 +73,9 @@ Auth0 helps you to:
7173

7274
## Issue Reporting
7375

74-
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.
76+
If you have found a bug or if you have a feature request, please report them at this repository issues section.
77+
Please do not report security vulnerabilities on the public GitHub issue tracker.
78+
The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.
7579

7680
## Author
7781

01-Authorization-RS256/go.mod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module 01-Authorization-RS256
2+
3+
go 1.16
4+
5+
require (
6+
github.com/auth0/go-jwt-middleware/v2 v2.0.0-beta.1
7+
github.com/joho/godotenv v1.4.0
8+
)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/auth0/go-jwt-middleware/v2 v2.0.0-beta h1:nQQTj7QTef2o7FS0EZqbJZCbyRUzsYKwgrrY26M06jI=
2-
github.com/auth0/go-jwt-middleware/v2 v2.0.0-beta/go.mod h1:dWL9pw5FgrzT1Hhmt+D0W8XmDDulGHN3yMMQl1Oq4RM=
1+
github.com/auth0/go-jwt-middleware/v2 v2.0.0-beta.1 h1:U9fzXrPf4kWIBKLOBMl+yLcNzBBFWVkPFzNZfM2c+sY=
2+
github.com/auth0/go-jwt-middleware/v2 v2.0.0-beta.1/go.mod h1:L3DhK5k9VNNIh0GeyjGnkTiQJmvy61ydLO8f0o/InXI=
33
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
44
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
55
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
@@ -13,8 +13,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
1313
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
1414
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
1515
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
16-
golang.org/x/crypto v0.0.0-20211202192323-5770296d904e h1:MUP6MR3rJ7Gk9LEia0LP2ytiH6MuCfs7qYz+47jGdD8=
17-
golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
16+
golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b h1:QAqMVf3pSa6eeTsuklijukjXBlj7Es2QQplab+/RbQ4=
17+
golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
1818
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
1919
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
2020
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

0 commit comments

Comments
 (0)