Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remix-auth-auth0

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-auth-auth0 - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

2

build/index.d.ts

@@ -42,5 +42,7 @@ import { OAuth2Profile, OAuth2Strategy, OAuth2StrategyVerifyParams } from "remix-auth-oauth2";

updated_at?: string;
org_id?: string;
}
export interface Auth0Profile extends OAuth2Profile {
_json?: Auth0UserInfo;
organizationId?: string;
}

@@ -47,0 +49,0 @@ export declare class Auth0Strategy<User> extends OAuth2Strategy<User, Auth0Profile, Auth0ExtraParams> {

@@ -69,2 +69,5 @@ "use strict";

}
if (data.org_id) {
profile.organizationId = data.org_id;
}
return profile;

@@ -71,0 +74,0 @@ }

2

package.json
{
"name": "remix-auth-auth0",
"version": "1.6.0",
"version": "1.7.0",
"main": "./build/index.js",

@@ -5,0 +5,0 @@ "types": "./build/index.d.ts",

@@ -86,2 +86,3 @@ # Auth0Strategy

```tsx
// app/routes/auth/logout.ts
import type { ActionArgs } from "@remix-run/node";

@@ -95,3 +96,3 @@

const session = await getSession(request.headers.get("Cookie"));
const logoutURL = new URL(process.env.AUTH0_LOGOUT_URL);
const logoutURL = new URL(process.env.AUTH0_LOGOUT_URL); // i.e https://YOUR_TENANT.us.auth0.com/v2/logout

@@ -98,0 +99,0 @@ logoutURL.searchParams.set("client_id", process.env.AUTH0_CLIENT_ID);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc