
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
ionic-coreo
Advanced tools
Ionic2 module for integrating with Coreo
npm install ionic-coreo --save
Update your Ionic app.module.ts:
import { CoreoModule } from 'ionic-coreo';
...
@NgModule({
imports: [CoreoModule]
...
})
export class AppModule {}
Currently not working!
import { CoreoModule, CoreoConfig } from 'ionic-coreo';
...
const coreoConfig = new CoreoConfig({
baseUrl: 'https://coreo-dev.herokuapp.com'
});
@NgModule({
imports: [
CoreoModule.forRoot(coreoConfig)
]
...
})
export class AppModule {}
The following services are provided as @Injectable()s
A thin wrapper around Ionic Native's GooglePlus and Facebook authentication. Ensure you have installed the relevant plugins and followed the configuration steps in the following documentation:
NOTE You must configure your OAuth credentials within Coreo. Go to Surveys > Your Survey > Credentials and add the relevant data.
import { CoreoAuth, CoreoAuthResult } from 'ionic-coreo';
@Component({
...
})
export class MyLoginComponent {
constructor(
private auth: CoreoAuth
) {}
login(): Promise<CoreoAuthResult> {
return this.auth.login('basic', { email: 'bob@mail.com', password: 'bob});
// OR
// const surveyId = 12;
// return this.auth.login('google', surveyId);
}
}
login(method: 'basic' | 'google' | 'facebook', params: CoreoAuthLoginOptions)logout(): void{email, password} object, else it is the surveyId you are logging in to.isLoggedIn: boolean - Flag indicating whether the user is logged in or not.id: number - User IDemail: string - Emailrole: string - RoledisplayName: string - Display NameimageUrl: string - Users' profile image URLAn HTTP client for sending queries and posting data to Coreo. Handles all authentication (if the user is logged in)
import { CoreoClient } from 'ionic-coreo';
@Injectable()
export class MyDataService {
constructor(
private client: CoreoClient
) {}
getData(): Observable<any> {
return this.client.request('/records?q=surveyId:12');
}
}
method: string - HTTP method. Defaults to 'get'headers?: any - An Object of HTTP headersbody?: string | FormData | nullauthentication?: CoreoAuthToken | false - If false, then no authentication header is set (even if the user is logged in).
If set to a CoreoAuthToken, this token will be used again regardless of the user's logged in token. If authentication is not supplied
then the user's logged in token will be used, if logged in.FAQs
Ionic2 module for integration with Coreo
The npm package ionic-coreo receives a total of 20 weekly downloads. As such, ionic-coreo popularity was classified as not popular.
We found that ionic-coreo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.